package io.jenkins.plugins.enums;

import io.jenkins.plugins.Messages;
import lombok.Getter;
import lombok.ToString;

/**
 * 安全策略
 *
 * @author xm.z
 */
@ToString
public enum SecurityPolicyEnum {

    /**
     * 关键字
     */
    KEY(Messages.SecurityPolicyType_key()),

    /**
     * 加签
     */
    SECRET(Messages.SecurityPolicyType_secret());

    @Getter
    private final String desc;

    SecurityPolicyEnum(String desc) {
        this.desc = desc;
    }
}
